Common JS bugs are eminently avoidable in Rust How an undefined error and a broken return in Node would be prevented by design in Rust